<div style="text-align:center; line-height:34px;padding:10px 0px;">已收录{$title}列表(<font color="#FF0000">{$count}</font>)</div>
<table id="table1" class="table table-striped table-bordered table-hover" width="100%">
  <thead>
      <tr>
        <th style="text-align:center;vertical-align: middle;">ID</th>
        <th style="text-align:left">{$title}名称</th>
        <th style="text-align:center">排序</th>
        <th style="text-align:center">相关操作</th>
     </tr>    
  </thead>
  <tbody>
  {notempty name="list"}
  {volist name="list" id="vo"}
  <tr style="height:45px;">
    <td align="center">{$vo[$name.'_id']}</td>
    <td align="left">{notempty name="vo[$name.'_name']"}{$vo[$name.'_name']|msubstr=0,10,'...'}{else/}{$vo.topic_name}{/notempty}</td>
    <td align="center" class="px"> {gt name='vo.topic_oid' value='$min_oid'} 
    {notempty name="did"}
    <a href="javascript:void(0);" data-tid="{$vo[$name.'_id']}" data-tsid="{$tsid}" data-did="{$did}"  data-sid="{$sid}" data-type="down" data-oid="{$list[$key+1][$name.'_id']}" data-types="did" class="btn-link addajax" title="排序往下一位" style="color: #090;">下</a>&nbsp;
    {/notempty}
    {notempty name="tid"}
    <a href="javascript:void(0);" data-tid="{$tid}" data-tsid="{$tsid}" data-did="{$vo[$name.'_id']}"  data-sid="{$sid}" data-type="down" data-oid="{$list[$key+1][$name.'_id']}" data-types="tid" class="btn-link addajax" title="排序往下一位" style="color: #090;">下</a>&nbsp;
    {/notempty}
      {/gt}
      {lt name='vo.topic_oid' value='$max_oid'} 
      {notempty name="did"}
      <a href="javascript:void(0);" data-tid="{$vo[$name.'_id']}" data-tsid="{$tsid}" data-did="{$did}"  data-sid="{$sid}" data-type="up" data-oid="{$list[$key-1][$name.'_id']}" data-types="did" class="btn-link addajax" title="排序往上一位" style="color: #F00;">上</a>&nbsp;
      {/notempty}
      {notempty name="tid"}
      <a href="javascript:void(0);" data-tid="{$tid}" data-tsid="{$tsid}" data-did="{$vo[$name.'_id']}"  data-sid="{$sid}" data-type="up" data-oid="{$list[$key-1][$name.'_id']}" data-types="tid" class="btn-link addajax" title="排序往上一位" style="color: #F00;">上</a>&nbsp;
      {/notempty}      
      {/lt}</td> 
     {notempty name="did"}  
    <td align="center"><a href="javascript:;" class="btn-link addajax" data-tid="{$vo[$name.'_id']}" data-tsid="{$tsid}" data-did="{$did}"  data-sid="{$sid}" data-type="del" data-types="did">删除</a></td>
    {/notempty}
      {notempty name="tid"}  
    <td align="center"><a href="javascript:;" class="btn-link addajax" data-tid="{$tid}" data-tsid="{$tsid}" data-did="{$vo[$name.'_id']}"  data-sid="{$sid}" data-type="del" data-types="tid">删除</a></td>
    {/notempty}   
  </tr>
  {/volist}
  {else/}
  <tr>
   <td style="text-align:center;vertical-align: middle;" colspan="4" >暂时没有收录任何{$title}！</td>
   </tr>
   {/notempty}
  </tbody>
</table>
